<body leftmargin="0" rightmargin="0" topmargin="0">
<div style=" background: url(images/title-bg.jpg); height:64px; text-align:right;">
<img src="images/head.jpg">
</div>

<!--left menu start-->
<div style="float: left; width:180px; height:100%; margin-right:20px;">
<?
include "menu.inc.php";
?>
</div>
<!--left menu end-->

<!--Main start here-->
<form name="form" action="?act=update_role" method="post" onSubmit="return GoSubmit(this)">
  <br>
  <table width="750" border="0" cellpadding="2" cellspacing="0" class="tableMainBodyFont">
    <tbody>
      <tr>
        <td width="3%" align="center" bgcolor="#aaaaaa" style=" border-top-style:solid;border-top-width:1px;"><strong>Kemaskini Peranan</strong></td>
      </tr>
    </tbody>
  </table>
  <table width="750" class="tableMainBodyFont">
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table>

<?
include "_form_role.php";
?>
<!--EOtelah lulus-->

<!--Main end here-->
</form>

</body>
<script>
function GoSubmit(df) {
	
	if (!checkInput(icnumRegExp,document.getElementById('ic_new'),'No Kad Pengenalan Baru')) return false;
	//if (!checkInput(anythingRegExp,$('name'),'Nama Staf')) return false;
	//if (!checkSelection(strRegExp,document.getElementById('gender'),'Jantina')) return false;
	return true;
}

//document.forms[0].onsubmit = GoSubmit;

</script>

<script>
msg = '<? echo ($m!='')?"1":"";?>';
if (msg!='') alert('Polisi Berjaya Dikemaskini'); 
</script>

<script>
function checkAll(df) {
  for (i=1; i<df.elements.length; i++ )
  {
     if (df.elements[i].type == "checkbox")
     {
       df.elements[i].checked = df.checkall.checked
     } 
  }
}
</script>

